﻿#region

using System.Text.Json.Serialization;
using Vin.Tool.Core.JsonCategory.Converters;
using Vin.Tool.Core.JsonCategory.TimeFormat;

#endregion

namespace Vin.Tool.Core.Tests.Models;

public class School
{
    /// <summary>
    /// 学校名称
    /// </summary>
    public string? Name { get; set; }

    /// <summary>
    /// 学校地址    
    /// </summary>
    public string? Address { get; set; }
    
    /// <summary>
    /// 内网链接
    /// </summary>
    public string? EnterUrl { get; set; }
    
    /// <summary>
    /// 主键ID
    /// </summary>
    public long? Id { get; set; }
    
    /// <summary>
    /// 创建时间
    /// </summary>
    // [JsonConverter(typeof(DateConverter))]
    [JsonConverter(typeof(DateTimeConverter<YYYYMMSSFormat>))]
    public DateTime? CreateTime { get; set; }
    
    /// <summary>
    /// 更新时间
    /// </summary>
    public DateTime? UpdateTime { get; set; }
    
    /// <summary>
    /// 是否删除 
    /// </summary>
    [JsonIgnore]
    public bool IsDelete { get; set; }
    
}